<div id="content_main" class="clearfix">
			<div id="main_panel_container" class="left">
			<div id="dashboard">
				<h2 class="ico_mug">City Location</h2>
				<div class="clearfix">
				<div class="left quickview">
					<h3>Add CityLocation</h3>
					<form method="post" enctype="multipart/form-data" action="<?php echo WEB_URL;?>home/citylocation"> 	
		  <fieldset id="fieldset">
		  <?php  if(strlen($this->session->userdata('errmsg')) >0){
				echo "<p class='errmsg'>". $this->session->userdata('errmsg') ."</p>";
				$this->session->set_userdata('errmsg','');
			}
			
			?>
			<table width="400">
			<tr>
			<td><b>CityName</b></td>
					<td style="padding-right:140px;">
						<select name="city" id="city" >
							<option value="0">==select city==</option>
		<?php
				foreach($citylist as $val)
				{
				print "<option value='".$val['cityid']."'>".$val['cityname']."</option>";
				}
								
			?>					
						</select>
					</td>
			</tr>
			</table>
			
			<table width="400">
			<tr>
			<td><b>Location</b></td>
			<td style="padding-right:100px;"><input type="text" name="cityarea" maxlength="25"/></td>
			</tr>
		</table>
		<table width="400">
			<tr>
			<td><input type="submit" name="submit" value="Submit"></td>
			</tr>
		</table>
		<table width="400">
		<tr>
		<td width="50"><b>S.No</b></td>
		<!--<td width="100"><b>CityName</b></td>-->
		<td width="100"><b>CityArea</b></td>
		<td width="50">&nbsp;</td>
		<td width="100"><b>Action</b></td>
		</tr>
		</table>
		<table width="400">
		<?php if (!empty($cityarea)): ?>
				<?php $count=1;?>
				<?php foreach ($cityarea as $artcityarearow): ?>
				<?php $cityareaid=$artcityarearow['cityid'];
				?>
		<tr>
		<td width="50"><?php echo $count;?></td>
		<!--<td width="100"><?php //print $artcityarearow['cityname']; ?></td>-->
		<td width="100"><?php print $artcityarearow['cityname']; ?></td>
		<td width="50">&nbsp;</td>
		<td width="50"><a href="<?php echo WEB_URL .'home/editcityarealist/'.$cityareaid;?>"><img src="<?php echo WEB_PATH;?>img/edit.jpg"></a></td>
						<td width="50"><a href="<?php echo WEB_URL .'home/deletecityarealist/'.$cityareaid;?>"class="delete"><img src="<?php echo WEB_PATH;?>img/cross.png"></a></td>
		<?php $count++;?>
		</tr>
		<?php endforeach; ?>
			<?php endif; ?>
		</table>
		<?php
echo $this->pagination->create_links();
?>
			</fieldset>
			</form>
			</div></div>			
			</div><!-- end #dashboard -->
			
			
			
			<div id="shortcuts" class="clearfix">
				<h2 class="ico_mug">Panel shortcuts</h2>
				<ul>
					<li class="first_li"><a href=""><img src="<?php echo WEB_PATH;?>img/theme.jpg" alt="themes" /><span>Themes</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/statistic.jpg" alt="statistics" /><span>Statistics</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/ftp.jpg" alt="FTP" /><span>Products</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/users.jpg" alt="Users" /><span>Users</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/comments.jpg" alt="Comments" /><span>Comments</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/gallery.jpg" alt="Gallery" /><span>Gallery</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/security.jpg" alt="Security" /><span>Security</span></a></li>
					
				</ul>
			</div><!-- end #shortcuts -->
			</div>